Note of Stochastic Method

Based on the book Handbook of Stochastic Methods: for Physics, Chemistry and the Natural Sciences.

Wiener-Khinchin therom

The autocorrelation function is defined as

G(τ)=limT1T0Tdt x(t)x(t+τ)

And the power spectrum is defined as

S(ω)=limT12πT|y(ω)|2where  y(ω)=0Tdt eiωtx(t)

We have:

S(ω)=12πdτ eiωtG(τ)G(τ)=dω eiωtS(τ)

The power spectrum and the autocorrelation function are the fourier transformation of each other.

Markov process

Definition and Chapman-Kolgomorov equation

Definition: p(x1,t1;x2,t2,...|y1,τ1;y2,τ2,...)=p(x1,t1;x2,t2,...|y1,τ1).

Chapman-Kolgomorov eq. p(x1,t1|x3,t3)=dx2 p(x1,t1|x2,t2)p(x2,t2|x3,t3).

Definition of continuous Markov process: limΔt01Δt|xz|>ϵdx p(x,t+Δt|z,t)=0.

"Differential C-K eq":

tp(z,t|y,t)=izi[Ai(z,t)p(z,t|y,t)]+ij122zizj[Bij(z,t)p(z,t|y,t)]+dx [W(z|x,t)p(x,t|y,t)W(x|z,t)p(z,t|y,t)]

where:

W(z|x,t)=(ddtp(z,t|x,t))t:→t      for  |zx|>ϵ
Ai(z,t)+O(ϵ)=(ddt|xz|<ϵ(xizi)p(x,t|z,t))t:→t
Bij(z,t)+O(ϵ)=(ddt|xz|<ϵ(xizi)(xjzj)p(x,t|z,t))t:→t

W term: jump term. Only keeping this term, the C-K eq reduces into "the master eq.". --- descrete A term: drift term. Only keeping this term, with a initial condition p(z,t|y,t)=δ(zy) can we get a deterministic trajectory. --- continuous B term: diffuse term. Fokker-Plank eq: without jump term: --- continuous

tp(z,t|y,t)=izi[Ai(z,t)p(z,t|y,t)]+ij122zizj[Bij(z,t)p(z,t|y,t)]

Some examples of Markov process

Wiener process: C-K eq:

tp(x,t|x0,t0)=122x2p(x,t|x0,t0)

with the initial condition p(x0,t0)=δ(xx0) we have:

X(t)=0    X2(t)=tt0

So we have:

X(t)=η(t)tt0,    η(t)=0, η2(t)=1

term with square root exists, so X is non-differentiable.

Ornstein-Uhlenbeck process: C-K eq:

tp(x,t|x0,t0)=x[kxp(x,t|x0,t0)]+D22x2p(x,t|x0,t0)

The Ito calculus and stochastic differential equation

The aim

The aim is to solve the DE: ddtx=a(x,t)+b(x,t)ξ(t), where ξ(t) satisfy:

i)  ξ(t)=0        ii)  ξ(t)ξ(s)=δ(ts)

To do so, we need the integral of stochastic term: W=ξ(t)dt. It is obvious that W is a continuous Markov process. It should be characterized by Fokker-Planck eq. Considering the fact:

p(w,t=0)=δ(w)W(t)=0tξ(t)dt=0W(t)2=0t0tξ(t)ξ(s)dtds=t

we have A=0 and B=1. So W is a Wiener process. Wiener process is non-differentiable, so the origin DE is not valid. Thus we would write it in the following form:

dx=a(x,t)dt+b(x,t)dW

Ito integral and Ito SDE

Let the integral of b(x,t)dW to be:

t0tb(x,t)dW=mslimnnb(xi,ti)(Wi+1Wi)

note:

  1. here we choose b to be at the left end of the interval, thus b is more probable to be a nonanticipationg function (functions that bi is independent of Wi+1Wi). And it seems strange but is true that the position of b affect the result of integral. (Difference between Ito form and Stratonovich form.)

    Choose b(x,t) to be W(t), then S=WdW=limW(τi)[W(ti)W(ti1)]. We have S=lim(τiti) depending on τi.

  2. mslimn is subtle. On one hand, it discard some stochastic term that constrate in one value with probability 1; on the other hand, it still gives back a stochastic term that is indetermined.

It can be proved that, for indetermined functions a,b,

dW2=dt,   dWn=0 for  n>2

Correspondingly, one can define Ito stochastic differential equation:

dx=a(x,t)dt+b(x,t)dW(t)

whose solution is Ito integral.

Stratonovich integral

One can use another choice of τi to be τi=12(ti+ti+1). Then Stratonovich integral was formed (only x changes, when the functions are singular, t's choice may matter. ):

(S)β(x,t)dW=mslimnnβ[12(xi+xi+1),ti](Wi+1Wi)

Attention, now,b is not a indetermined function, thus all the good lemmas for Ito integral fail.

Stratonovich SDE:

dx=α(x,t)dt+β(x,t)dW(t)

whose solution is Stratonovich integral.

The relationship between Ito integral and Strtonovich integral can be derived as follow:

Δx=α(xi+xi+12,ti)Δt+β(xi+xi+12,ti)ΔW=a(xi,ti)Δt+b(xi,ti)ΔW
  Δx=α(xi,ti)Δt+β(xi,ti)ΔW+12b(xi,ti)xβ(xi,ti)ΔW2

Here we ignore the quantities with order higher than ΔW2. Now all the functions are indetermined, thus ΔW2=Δt. Therefore,

a(x,t)=α(x,t)+12b(x,t)xβ(x,t)b(x,t)=β(x,t)

The relationship between SDE and FPE

Under Ito explanation,

dx=Adt+BdW(t)

corresponds to:

tp(x,t)=x(Ap)+12x2(B2p)

Multi-variable case:

dx=Adt+BdWtp(x,t)=(Ap)+12:(BBTp)

Adiabatic elimination of fast variables

Kramers equation

The EOM of a particle affected by stochastic force in potential:

tx=vmtv=βvU(x)+2βkTξ(t)

Given that m is a small quantity, v will be thermalized in a short time, what we need to do is to systematically eliminate it to get an equation of x. Or, we need to find the FPE of p~(x,t)=dv p(x,v,t).

The corresponding FPE is:

tp=x(vp)+v(βmvp+U(x)mp)+βkTm2v2p

Scale the variables: y=xm/kT,u=vm/kT,U(y)=U(x)/kT, and introduce γ=β/m, a large quantity.

tp=y(up)+u[U(y)p]+γu(up+up)

expand p into series: p=p0+p1γ1+p2γ2+....

Order 0:

u(up0+up0)=0

we employ the solution (there seems to be another solution, but somehow it is ignored):

p0(y,u,t)=e12u2ϕ(y,t)

Plug it into the equation of order 1:

e12u2tϕ(y,t)=ue12u2yϕ(y,t)Uue12u2ϕ(y,t)+u(up1+up1)

Integrate the both side over u to eliminate the odd terms and boundary term, one gets:

tϕ(y,t)=0

Thus order 1:

u(u+u)p1=ue12u2(y+U)ϕ(y)

the solution is (again something is left):

p1(y,u,t)=ψ(y,t)e12u2ue12u2(y+U)ϕ(y)

Order 2:

tp2=y(up2)+u(Up2)+u(up1+up1)

Similarly, integrate it:

y(y+U)ϕ(y)=tψ(y,t)

Now plug p~=du[p0+γ1p1+O(γ2)]=2π[ϕ(y)+γ1ψ(y,t)+O(γ2)] into this condition:

γ1x(U+x)p~=tp~

This is "Kramers equation".

Stratonovich integral is the limit of nonwhite noise process

One stochastic differential equation reads:

tx=a(x)+b(x)α0(t)

where α0(t)=γα(γ2t), α(t) is a stationary stochastic process with

α=0α(t)α(0)dt=1

Aim and conclusion: under the limit γ, the equation before reduces to Stratonovich stochastic differential equation:

dx=a(x)dt+b(x)dW

This shows that stratonovich integral is the limit of nonwhite noise process. In this case, α can be regarded as the fast variable.

Proof

One assume that α(t) obeys:

tp(α(t))=L^1p(α(t))=[αA(α)+12α2B(α)]p(α(t))

i.e. α(t) is a diffusion process. Denote α(γ2t) by α, one can get FPE of the pair (x,α):

tp(x,α,t)=(γ2L^1+γL^2+L^3)p(x,α,t)where   L^2=αxb(x)   L^3=xa(x)

even if α is not a diffusion process, one is able to derive it.

The first order approximation: γ2L^1p=0. The solution should be p(x,α,t)=ps(α)ϕ(x,t), where ps(α) satisfies L^1ps(α)=0. So we use the operator P^p(x,α,t)=ps(α)dα p(x,α,t) to characterize the approximation: v=P^p,w=(1P^)p,p=v+w. v=ps(α)p~(x,t), what we need is FPE of p~, thus we need to cancel w.

Apply P^ and 1P^ in both side of:

t(v+w)=(γ2L^1+γL^2+L^3)(v+w)

and use lemmas:

P^L^1=L^1P^=0P^L^2P^=0P^L^3=L^3P^

one can get

tv=L^3v+γP^L^2wtw=γL^2v+γ2L^1w+γ(1P^)L^2w+L^3w

Proof of lemmas

Obviously L^1P^=0 and L^3P^=P^L^3. Regarding P^L^1=0: If L^3 has a complete set of eigenfunctions and corresponding eigenvalues are all real, P^=limtexp(tL^1). Then the exchangeablity is obvious. For other cases idk.

Regarding P^L^2P^=0: one can easily get:

P^L^2P^f(x,α,t)=[sth of x,t]dα αps(α)

From α=0, one can know the above formula equals to 0;

Laplacian transformation of the two equation and eliminate w (let Lw(0)=0):

sv=L^3vγP^L^2[s+γ2L^1+γ(1P^)L^2+L^3]γL^2v+v(0)

here vL{v(t)}(s). Keep the main terms, one gets:

sv=(L^3P^L^2L^11L^2)v+v(0)i.e.   tv=(L^3P^L^2L^11L^2)v

 

General Method

tbd...

Approximation between master equation and Fokker-Planck equation

Master eq as an approximation of FPE

One can always use master equation to approximate Fokker-Planck equation. Considering the following jumping term:

W(x|x,t)=δ3/2 Φ(xxA(x,t)δδ;x,t)

Φ(y;x,t)0 when y± and Φ(y;x,t)dy=1 and yΦ(y;x,t)dy=0. We have:

W(x|x,t)dx=δ1Φ(y;x,t)dy(xx)W(x|x,t)dx=A(x,t)(xx)2W(x|x,t)dx=y2Φ(y;x,t)dyB(x,t)

As δ0, one have:

tp(x,t)=dzW(x|z,t)p(z,t)dzW(z|x,t)p(x,t)δ0tp(x,t)=xA(x,t)p(x,t)+12x2B(x,t)p(x,t)

Practically, one can use the birth-death equation to approximate FPE.

W(x|x,t)=(A2δ+B2δ2)δ(x+δx)+(A2δB2δ2)δ(xδx)

δ's with footnote are Dirac delta function.

FPE as an approximation of master eq

Kramers-Moyal expansion is easy to carry on but not rigorous. For a master eq:

tp(x,t)=dx[W(x|x,t)p(x,t)W(x|x,t)p(x,t)]

One can use the following FPE as a substitution:

tp(x,t)=xA(x,t)p(x,t)+12x2B(x,t)p(x,t)A(x,t)=dx(xx)W(x|x,t)B(x,t)=dx(xx)2W(x|x,t)

Proof (not rigorous at all):

Let Δx=xx and W(x|x,t)=W(Δx;x,t). One has RHS:

dΔx[W(Δx;x+Δx,t)p(x+Δx,t)W(Δx;x,t)p(x,t)]=dΔx[W(Δx;x+Δx,t)p(x+Δx,t)W(Δx;x,t)p(x,t)]=dΔxn=11n!(Δxx)nW(Δx;x,t)p(x,t)=n=1xn[1n!dΔx ΔxnW(Δx;x,t)]p(x,t)

In the second line the identity RdxW(x)=RdxW(x) is used. Abandon terms with order higher than 2, one get

tp=xAp+12x2Bp

where:

A=dΔx ΔxW(Δx;x,t)=dx(xx)W(x|x,t)B=dΔxΔx2W(Δx;x,t)=dx(xx)2W(x|x,t)

This process is not regorous-- one is not even clear the asymptotic process of this approximation. But obviously it is valid when W(Δx;x,t) as a function of Δx is continuous and limited in a small range-- the high-ordered moment vanishes.

Van Kampen's system size expansion is valid. "The essential point is that the size of the jump is expressed in terms of the extensive quantity Δa, but the dependence on a is better expressed in terms of the intenshive variable x." Van Kampen expect that the jumping term obeys:

W(x+Δx|x,t)W(Δx;x,t)=ΩW(Δx;xΩ,t)

Where Ω is the size of the system (such as volume or area). (W(Δx;x,t) is redefined.) Taking chemical reaction as an instance, this seems reasonable.

The conclusion is: one can replace the master eq with:

tp~(z,t)=ϕα~1[ϕ(t)]zzp~(z,t)+12α~2[ϕ(t)]z2p~(z,t)where   x=Ωϕ(t)+Ω1/2z,  p~(z,t)=p(x,t)ϕ(t) is the solution of  tϕ(t)=α~1[ϕ(t)]α~i(ϕ)=dΔx ΔxiW(Δx;ϕ,t)

brief proof:

Plug x=...ϕ+...z into the series in Kramers-Moyal expansion. Then expand W again into series of Ω1/2. The condition of ϕ(t) cancel Ω1/2 term in both sides. Only let zero-ordered terms servive and one get the final expr.

It can be proved that in the lowest order, when W meet the requirement of van Kampen's expansion, the result of Kramers-Moyal expansion and that of van Kampen's are consistent.

Critical fluctuation and critical slowing down: tbd...

Multi-variable birth-death master equation

The most apparent example of the birth-death process with multiple variables is multiple chemical reactions:

aNaAXakAkA+aMaAXa

where A denotes the index of the reaction, and X denotes the species of substance. One use x to denote the amount of every substance and rA to denote MANA. Thus

W(x+rA|x,t)=kA+(t)axa!(xaNaA)!W(x|x+rA,t)=kA(t)axa!(xaMaA)!tp(x,t)=A{W(x|x+rA,t)p(x+rA,t)W(x+rA|x,t)p(x,t)+W(x|xrA,t)p(xrA,t)W(xrA|x,t)p(x,t)}

To simplify the problem, one set k to be independent of t and try to find the stationary solutions. The general stationary solution of the master equation can be found by some method, and the result is called Kirchoff's solution.

Stationary solution with detailed balance

Detailed balance requires the the following conditions:

A,x:  W(x|x+rA)p(x+rA)=W(x+rA|x)p(x)

p(x+rA+rB)=p(x+rB+rA) is automatically satisfied. With the following condition, detailed balance can be ensured:

The general stationary solution can be written as a poissonian distribution times a function f(x).

p(x)=f(x)a(λa)xaeλaxa!

where λa is the solution of the following linear equations:

araAlnλa=lnkA+kA

And f(x) satisfied f(x)=f(x+rA), A. f distinguish out a subspace, for instance, in the reaction AB, f(a,b)=δ(a+bN) ensure the conservation.

FPE approximation of multi-variable master eq

Kramers-Moyal expansion:

tp=(Ap)+12:(Bp)A=ArA[W(x+rA|x)W(x|x+rA)]B=ArArA[W(x+rA|x)+W(x|x+rA)]